import { Request } from './request'

// 所有的接口都放在此处统一管理
const api = {
  test: '/api/fapig/douyin/billboard1'
}

export const testApi = (data: object) => {
  return new Promise((resolve) => {
    Request.get(api.test, data).then((res) => {
      resolve(res)
    })
  })
}
